home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
cstdio.arc
/
SRC.ARC
/
STRCPY.C
< prev
next >
Wrap
C/C++ Source or Header
|
1984-07-29
|
218b
|
17 lines
/* strcpy.c - copy t to s.
K & R page 101.
G. R. Mansfield. 84/06/09.
Ver 1.0-4729.
*/
char *strcpy(s, t) /* copy t to s */
char *s, *t;
{
char *p;
p = s;
while (*s++ = *t++)
;
return(p);
}